[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api_0x16.nas"]
	GLOBAL _api_fclose
	
[SECTION .text]

;-----------------------------------
;关闭文件
;edx 0x16
;eax 文件句柄
;---------------------------------
_api_fclose: ;void api_fclose(int fhandle);
	mov edx,0x16
	mov eax,[esp+4] ;fhandle
	int 0x40
	ret